﻿#pragma once

#include "Framework/Application.h"
#include "Output/Console.h"


int main(int argc, char* argv[])
{
    auto App=NewObject<RApplication>();

    SApplicationArgument Argument;
    Argument.ExecutablePath=SPath(argv[0]);

    App->Initialize(Argument);

    RObjectWeakPtr WeakObject;
    {
        RObjectPtr Object=NewObject<RObject>();
        WeakObject=Object;

    }


    {
        RObjectPtr Object=NewObject<RObject>();
        WeakObject=Object;        
    }

    App->Run();
}